package com.quectel.core.module.ai.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 布控关系表
 *
 * @author rananxin
 * @email: ryan.ran@quectel.com
 * @date 2021-11-24 19:15:09
 */
@Data
@Schema
public class AiLibApplicationDto implements Serializable {

    /**
     *
     */
    @Schema(description = "")
    private Long id;

    /**
     * 名单库id
     */
    @Schema(description = "名单库id")
    private Long aiControlLibId;

    /**
     * 应用id
     */
    @Schema(description = "应用id")
    private Long applicationId;

    /**
     * 编码
     */
    @Schema(description = "编码")
    private String code;

    /**
     * 任务id
     */
    @Schema(description = "任务id")
    private String taskId;

    /**
     * 执行状态
     */
    @Schema(description = "执行状态")
    private Byte execStatus;

    /************非数据库字段 start ************/

    /**
     * 租户id
     */
    @Schema(description = "租户id")
    private Long tenantId;

    /**
     * 类型id
     */
    @Schema(description = "类型id")
    private Long deviceTypeId;

    /**
     * 种类id
     */
    @Schema(description = "种类id")
    private Long deviceCategoryId;

    /**
     * 接入方式id
     */
    @Schema(description = "接入方式id")
    private Long accessConfId;

    /**
     * 模版id
     */
    @Schema(description = "模版id")
    private Long accessTemplateId;

    /**
     * 产品名称
     */
    @Schema(description = "产品名称")
    private String name;

    /**
     * 协议类型 0其他 1HTTP 2MQTT 3TCP
     */
    @Schema(description = "协议类型 0其他 1HTTP 2MQTT 3TCP")
    private Byte protocolType;

    /**
     * 接入配置
     */
    @Schema(description = "接入配置")
    private String accessConf;

    /**
     * 状态 0禁用 1启用
     */
    @Schema(description = "状态")
    private Byte status;

    /**
     * 初始化配置 0失败 1成功
     */
    @Schema(description = "初始化配置 0失败 1成功")
    private Byte initStatus;

    /**
     * 备注
     */
    @Schema(description = "备注")
    private String remark;

    /**
     *
     */
    @Schema(description = "")
    private String creator;

    /**
     *
     */
    @Schema(description = "")
    private Date createTime;

    /**
     *
     */
    @Schema(description = "")
    private String editor;

    /**
     *
     */
    @Schema(description = "")
    private Date editTime;
    /************非数据库字段 end **************/
}
